<?php decorate_with(false) ?>
<?
	switch ($snippetName){
		case "menu":
			$out=JsonSnippetHelper::get_partial(
                "main/menu",
                array(
                     "currentSection"   =>  $currentSection,
                     "currentTag"       =>  $currentTag,
                     "settings"         =>  $settings,
                     "templateSettings" =>  $templateSettings,
                     "widget"           =>  $widgetPositionsGrouped["left"]["menu"],
                )
            );
			break;
	}

	echo json_encode(
		array(
			"snippets" => array(
				$out
			)
		)
	);